﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Input;

using BCDManager.UI.Commands;

namespace BCDManager.UI.ViewModels
{
	public class MainViewModel : ViewModelBase
    {
        #region Commands
        private DelegateCommand exitCommand;
        public ICommand ExitCommand
        {
            get
            {
                if (exitCommand == null)
                {
                    exitCommand = new DelegateCommand(Exit);
                }
                return exitCommand;
            }
        }
        #endregion

        #region Constructor

        public MainViewModel()
		{
			// Blank
		}

		#endregion

        #region Commands Definitions
        private void Exit()
		{
			Application.Current.Shutdown();
        }
        #endregion
    }
}
